import { request } from './request';

export function getVodCourses(scene = '', page = 1, category_id = 0, page_size = 10) {
  return request({
    url: `/courses?page=${page}&page_size=${page_size}&scene=${scene}&category_id=${category_id}`,
  });
}

export function getCategoryCourse() {
  return request({
    url: '/course_categories',
  });
}
